package com.hellobike.haxing.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: t_wms_location
 * @Author: haxing-boot
 * @Date: 2020-01-13
 * @Version: V1.0
 */
@Data
@TableName("t_wms_location")
public class Location implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * locCode
     */
    @Excel(name = "locCode", width = 15)
    private String locCode;
    /**
     * locCode
     */
    @Excel(name = "locName", width = 15)
    private String locName;
    /**
     * locType
     */
    @Excel(name = "locType", width = 15)
    private String locType;
    /**
     * locStatus
     */
    @Excel(name = "locStatus", width = 15)
    private String locStatus;
    /**
     * warehouseId
     */
    @Excel(name = "warehouseId", width = 15)
    private Long warehouseId;
    /**
     * partitionId
     */
    @Excel(name = "partitionId", width = 15)
    private Long partitionId;
    /**
     * partitionCode
     */
    @Excel(name = "partitionCode", width = 15)
    private String partitionCode;
    /**
     * aisle
     */
    @Excel(name = "aisle", width = 15)
    private String aisle;
    /**
     * bay
     */
    @Excel(name = "bay", width = 15)
    private String bay;
    /**
     * lev
     */
    @Excel(name = "lev", width = 15)
    private String lev;
    /**
     * position
     */
    @Excel(name = "position", width = 15)
    private String position;
    /**
     * volume
     */
    @Excel(name = "volume", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer volume;
    /**
     * weight
     */
    @Excel(name = "weight", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer weight;
    /**
     * length
     */
    @Excel(name = "length", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer length;
    /**
     * width
     */
    @Excel(name = "width", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer width;
    /**
     * height
     */
    @Excel(name = "height", width = 15)
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Integer height;
    /**
     * locDesc
     */
    @Excel(name = "locDesc", width = 15)
    private String locDesc;
    /**
     * createTime
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * updateTime
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    /**
     * createBy
     */
    @Excel(name = "createBy", width = 15)
    private Integer createBy;
    /**
     * updateBy
     */
    @Excel(name = "updateBy", width = 15)
    private Integer updateBy;
    /**
     * deleted
     */
    @Excel(name = "deleted", width = 15)
    @TableLogic
    private Integer deleted;
}
